package cool.mtc.minghe.service.mapper.sys.role;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cool.mtc.minghe.data.entity.sys.role.RolePermissionDO;
import cool.mtc.minghe.data.model.sys.role.permission.dto.RolePermissionDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 明河
 */
public interface RolePermissionMapper extends BaseMapper<RolePermissionDO> {

    List<RolePermissionDTO> listPermissionByRoleId(@Param("roleId") long roleId);
}
